package com.bianguo.android.apushdemo.view.activity;

import android.os.Bundle;

import com.bianguo.android.apushdemo.R;
import com.bianguo.android.apushdemo.presenter.impl.LoginPresenter;
import com.bianguo.android.apushdemo.utils.MyLog;
import com.bianguo.android.apushdemo.view.ILoginView;

public class LoginActivity extends BaseMvpActivity<ILoginView, LoginPresenter> implements ILoginView {

    @Override
    public LoginPresenter initPresenter() {
        return new LoginPresenter();
    }

    @Override
    public int layoutId() {
        return R.layout.activity_login;
    }

    @Override
    public void initView(Bundle savedInstanceState) {
        presenter.login();
    }

    @Override
    public void showLoginView() {
        MyLog.mLog("showLoginView");
    }

    @Override
    public void failedLoginView() {

    }
}
